SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5231783cf6a63e8a766a1f54bfc9c6ed4ae873dd5bf6fe7e74c64ccccac28e14' 
  AND token = 'P3ZvxI6U8L3X5u28Xh2yAnk+OBFS9Eg706s/cidiSPQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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