SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1258107857368b10c01ae1cb51e25a2156a423154c0d7f838105076cd92156a' 
  AND token = 'yDOHkk2P2qyrU6i4WOGLdd1RU59Kh7stlojhaH6xHR8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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