SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '56249e8506a0c44a01060dacc53887930bd496200dfd377b4100ce674a51b976' 
  AND token = 'oZbqNne6EoxOOlSCKMs5TTvUGukLT3uZwaLx3KnKBR0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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