SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a65d1ca2f16e465c0c166fdfe7ad1dfdf09eecef839b5e0fe9a991067d3b338' 
  AND token = 'EXyFpeSPd+5WY0fPiDFhUo6AOsbbPr1lPKwI4Vg8bRg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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