SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9327d0f3aeab71a61a5fc9863449fc27b94d0c1adc58f190e6f21f25f247d8d9' 
  AND token = 'ZzSJsM50r71vN/Q52jM0la1sRCOZ3FC+jUn0ciE9pxI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}